<ul id="left-tabs" class="tabs">
	<li <%="class='selected'" if controller.controller_name == "projects" and controller.action_name == "show" %>><%= link_to t('navigation.project.overview'), project_path(@project) %></li>
	<li <%="class='selected'" if controller.controller_name == "activities"%>><%= link_to t('navigation.project.activities'), project_activities_path(@project) %></li>
	<li <%="class='selected'" if controller.controller_name == "milestones"%>><%= link_to t('navigation.project.milestones'), project_milestones_path(@project) %></li>
	
	<li class="tab-separator"><%= link_to t(:dashboard, :scope => [:navigation, :general]), projects_url %></li>
</ul>
<% if current_user.admin? @project %>
	<ul id="right-tabs" class="tabs">
		<li <%= "class='selected'" if controller.controller_name == "projects" and controller.action_name == "edit" %>>
			<%= link_to t(:config, :scope => :project), edit_project_url(@project) %>
		</li>
		<li <%= "class='selected'" if controller.controller_name == "permissions" %>>
			<%= link_to t(:access_and_permissions), project_permissions_url(@project) %>
		</li>
	</ul>
<% end %>